package com.zenika.zenbinding.client.exception;

/**
 * This class contain a message destined to be displayed to the user. If the
 * name of the model is specified, it will be appended to this message. <br> For
 * example : if the message is "Required field : " and the model name is "name",
 * the displaye message will be "Required field : name".
 * @author Zenika
 */
public class DataMessage {

	private String message;

	/**
	 * Create a DataMessage.
	 * @param message The message
	 */
	public DataMessage(String message) {
		this.message = message;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
